#include "stdio.h"
#include "bjnio.h"
#pragma warning(disable:4996) 

#define MESH   "mesh.msh"
#define COORDS "coordinate.msh"
#define TETRAE "tetrahedron.msh"
#define ITERAT "iteration00001.gdc"

//void FreeGDCBjnInfo(LPBJN_INFO pbjn_info);
int getFileInfoGDC(char *s, BJN_INFO *bjn_info, FILE *f);
int getGDCgridInfo(char *s, BJN_INFO bjn_info, BJN_INFO *grid_bjninfo, FILE *f);

#define str_alloc_cpy(t,s)				\
	{									\
	if(s)								\
		{		\
		t=alloc_char_mas_n1(strlen(s)+1);	\
		strcpy(t,s);						\
		}		\
	else		\
		t=NULL;	\
	}
